<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>prencar: D:/Workspace/Arduino/prencar/Configuration.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="prencar.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">prencar
   &#160;<span id="projectnumber">1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_configuration_8h.html','');
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">D:/Workspace/Arduino/prencar/Configuration.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_configuration_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef Configuration_h</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define Configuration_h</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;Arduino.h&quot;</span>
<a name="l00005"></a>00005 
<a name="l00006"></a><a class="code" href="class_configuration.html">00006</a> <span class="keyword">class </span><a class="code" href="class_configuration.html">Configuration</a>
<a name="l00007"></a>00007 {
<a name="l00008"></a>00008 <span class="keyword">private</span>:
<a name="l00009"></a><a class="code" href="class_configuration.html#a33a4ec5f460471c076a0b74b48aa7bbe">00009</a>   <span class="keyword">static</span> <a class="code" href="class_configuration.html">Configuration</a> <a class="code" href="class_configuration.html#a33a4ec5f460471c076a0b74b48aa7bbe" title="Static reference to the singleton object.">_instance</a>;
<a name="l00010"></a><a class="code" href="class_configuration.html#a30bcffe1c1a3b15d41d824f9a1570bf6">00010</a>   <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="class_configuration.html#a30bcffe1c1a3b15d41d824f9a1570bf6">_instanceCreated</a>;
<a name="l00011"></a><a class="code" href="class_configuration.html#a4ac462aa12ad49539d33d3ea718805c6">00011</a>   <span class="keyword">static</span> byte <span class="keyword">const</span> <a class="code" href="class_configuration.html#a4ac462aa12ad49539d33d3ea718805c6" title="Returns the version of the configuration (number will be increased after a set of new configuration v...">_CONFIGURATIONVERSION</a>;
<a name="l00012"></a><a class="code" href="class_configuration.html#a7e97b2bad64cee71271070bde2f71b74">00012</a>   <span class="keyword">static</span> <span class="keywordtype">long</span> <span class="keyword">const</span> <a class="code" href="class_configuration.html#a7e97b2bad64cee71271070bde2f71b74" title="Defines the serial data rate.">_SERIALSPEED</a>;
<a name="l00013"></a>00013   <a class="code" href="class_configuration.html#a779947337bf652f0e773cb29f37f14ba">Configuration</a>();
<a name="l00014"></a>00014 <span class="keyword">public</span>:
<a name="l00020"></a><a class="code" href="class_configuration.html#a9ac73982b5d1611bba533567fffbaa3c">00020</a>   <span class="keyword">static</span> byte <span class="keyword">const</span> <a class="code" href="class_configuration.html#a9ac73982b5d1611bba533567fffbaa3c" title="Defines the size of the array in which all dynamic configuration values are saved.">SIZEOFDYNAMICCONFIGURATION</a> = 58;
<a name="l00021"></a>00021 
<a name="l00022"></a>00022   <span class="comment">//-----------------------------------</span>
<a name="l00023"></a>00023   <span class="comment">//PIN ASSIGNMENT</span>
<a name="l00024"></a><a class="code" href="class_configuration.html#a129f685bdf9dfa543433ffe33b934b9f">00024</a>   byte <a class="code" href="class_configuration.html#a129f685bdf9dfa543433ffe33b934b9f">movePwmLeftPin</a>;
<a name="l00025"></a><a class="code" href="class_configuration.html#ad384a39f446ac53af0e2ca60ea31544b">00025</a>   byte <a class="code" href="class_configuration.html#ad384a39f446ac53af0e2ca60ea31544b">movePwmRightPin</a>;
<a name="l00026"></a><a class="code" href="class_configuration.html#af7126167dea89663242c034a2133aa9a">00026</a>   byte <a class="code" href="class_configuration.html#af7126167dea89663242c034a2133aa9a">moveModeFirstLeftPin</a>;
<a name="l00027"></a><a class="code" href="class_configuration.html#a234d8d0b9c26332de99736c7025029c1">00027</a>   byte <a class="code" href="class_configuration.html#a234d8d0b9c26332de99736c7025029c1">moveModeSecondLeftPin</a>;
<a name="l00028"></a><a class="code" href="class_configuration.html#a36f12a77b8aad1e079eaf6f30f4b2f97">00028</a>   byte <a class="code" href="class_configuration.html#a36f12a77b8aad1e079eaf6f30f4b2f97">moveModeFirstRightPin</a>;
<a name="l00029"></a><a class="code" href="class_configuration.html#af2d3235df12d5a5e65da57d018d90e9a">00029</a>   byte <a class="code" href="class_configuration.html#af2d3235df12d5a5e65da57d018d90e9a">moveModeSecondRightPin</a>;
<a name="l00030"></a>00030 
<a name="l00031"></a><a class="code" href="class_configuration.html#a09d83c2f3c4485fd864bf998e62788d7">00031</a>   byte <a class="code" href="class_configuration.html#a09d83c2f3c4485fd864bf998e62788d7">lineFollowLeftSensorPin</a>;
<a name="l00032"></a><a class="code" href="class_configuration.html#a254b7ac19c994603776d47645235a132">00032</a>   byte <a class="code" href="class_configuration.html#a254b7ac19c994603776d47645235a132">lineFollowRightSensorPin</a>;
<a name="l00033"></a><a class="code" href="class_configuration.html#a683b496d15eca4addb13325d9707abcf">00033</a>   byte <a class="code" href="class_configuration.html#a683b496d15eca4addb13325d9707abcf">lineFollowLeftFrontSensorPin</a>;
<a name="l00034"></a><a class="code" href="class_configuration.html#ab8d7a8d9f62cfafe082cc32915ef4bfa">00034</a>   byte <a class="code" href="class_configuration.html#ab8d7a8d9f62cfafe082cc32915ef4bfa">lineFollowRightFrontSensorPin</a>;
<a name="l00035"></a>00035 
<a name="l00036"></a><a class="code" href="class_configuration.html#a25401bc6511b005d70f71e4b72f71c03">00036</a>   byte <a class="code" href="class_configuration.html#a25401bc6511b005d70f71e4b72f71c03" title="The pin where the servo motor of the hoist is connected to.">liftCubePwmPin</a>; 
<a name="l00037"></a>00037 
<a name="l00038"></a><a class="code" href="class_configuration.html#a64566ef4e13d578a41614a643acfdd51">00038</a>   byte <a class="code" href="class_configuration.html#a64566ef4e13d578a41614a643acfdd51" title="The pin where the left bottom distance sensor is connected to.">cubeApproachLeftBottomSensor</a>; 
<a name="l00039"></a><a class="code" href="class_configuration.html#a5c4874ad8b2a3f5888a0c69fbbb2bb8b">00039</a>   byte <a class="code" href="class_configuration.html#a5c4874ad8b2a3f5888a0c69fbbb2bb8b" title="The pin where the left top distance sensor is connected to.">cubeApproachLeftTopSensor</a>; 
<a name="l00040"></a><a class="code" href="class_configuration.html#a87c9f78ce74ac840afac408a4d321cf1">00040</a>   byte <a class="code" href="class_configuration.html#a87c9f78ce74ac840afac408a4d321cf1" title="The pin where the right bottom distance sensor is connected to.">cubeApproachRightBottomSensor</a>; 
<a name="l00041"></a><a class="code" href="class_configuration.html#ae0ce367a5bec000ca27cd7c80117646d">00041</a>   byte <a class="code" href="class_configuration.html#ae0ce367a5bec000ca27cd7c80117646d" title="The pin where the right top distance sensor is connected to.">cubeApproachRightTopSensor</a>; 
<a name="l00042"></a>00042   
<a name="l00043"></a><a class="code" href="class_configuration.html#adeabc14547cb44f6d6f567ca99357796">00043</a>   byte <a class="code" href="class_configuration.html#adeabc14547cb44f6d6f567ca99357796" title="Analog input pin on which the battery voltage is measured.">accuPin</a>; 
<a name="l00044"></a>00044 
<a name="l00045"></a>00045   <span class="comment">//-----------------------------------</span>
<a name="l00046"></a>00046   <span class="comment">//GENERAL CONFIG VALUES</span>
<a name="l00053"></a><a class="code" href="class_configuration.html#aa3d031d7c37b044ad2fa4558fc4d3c3b">00053</a> <span class="comment"></span>  byte <a class="code" href="class_configuration.html#aa3d031d7c37b044ad2fa4558fc4d3c3b" title="Filter that shall be applied to all outgoing messages (over serial interface).">messageFilterLevel</a>;
<a name="l00054"></a><a class="code" href="class_configuration.html#a60b33a8e5b22cd2a2d4da9e4f2195269">00054</a>   <span class="keywordtype">boolean</span> <a class="code" href="class_configuration.html#a60b33a8e5b22cd2a2d4da9e4f2195269" title="True if _messageFilterLevel shall be taken into account.">activateMessageFilter</a>; 
<a name="l00055"></a><a class="code" href="class_configuration.html#aca67601e35566058e2bca41b7188469e">00055</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aca67601e35566058e2bca41b7188469e" title="Time in milliseconds to wait before each main loop starts. Can be used for debug purposes.">doJobDelay</a>; 
<a name="l00056"></a>00056 
<a name="l00060"></a><a class="code" href="class_configuration.html#ab86a9d57799e36b0b985ad3b2e3bbfcd">00060</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#ab86a9d57799e36b0b985ad3b2e3bbfcd" title="Threshold value from black to white.">whiteThresholdLineSensors</a>;
<a name="l00061"></a><a class="code" href="class_configuration.html#a3f838139ddbf2105d77dd7992407058f">00061</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a3f838139ddbf2105d77dd7992407058f" title="See lineFollowWhiteThresholdLineSensors.">whiteThresholdFrontSensors</a>; 
<a name="l00062"></a>00062 
<a name="l00063"></a>00063     <span class="comment">//-----------------------------------</span>
<a name="l00064"></a>00064   <span class="comment">//LINE FOLLOW</span>
<a name="l00065"></a><a class="code" href="class_configuration.html#aa799e7ed6a4722085506a31c051bf103">00065</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aa799e7ed6a4722085506a31c051bf103" title="Interval in milliseconds in which the line follow job shall be executed.">lineFollowInterval</a>; 
<a name="l00066"></a><a class="code" href="class_configuration.html#a24e118088874b8f9d56bcaf245f1461d">00066</a>   byte <a class="code" href="class_configuration.html#a24e118088874b8f9d56bcaf245f1461d" title="The initial speed of the left motor when the parcours starts (0-255).">lineFollowInitialSpeedLeft</a>; 
<a name="l00067"></a><a class="code" href="class_configuration.html#aabc113e529eb659768ca98f15d3952a3">00067</a>   byte <a class="code" href="class_configuration.html#aabc113e529eb659768ca98f15d3952a3" title="The initial speed of the left motor when the parcours starts (0-255).">lineFollowInitialSpeedRight</a>; 
<a name="l00068"></a>00068 
<a name="l00071"></a><a class="code" href="class_configuration.html#aabaf837f8816911a6d0b1e8cd7867cb9">00071</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aabaf837f8816911a6d0b1e8cd7867cb9">lineFollowKp</a>;
<a name="l00075"></a><a class="code" href="class_configuration.html#aad2572d8c68520c2ef6613d29f38a9cf">00075</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aad2572d8c68520c2ef6613d29f38a9cf">lineFollowKd</a>;
<a name="l00081"></a><a class="code" href="class_configuration.html#a049b8264eb2ab78dd89a7332008912a5">00081</a>   byte <a class="code" href="class_configuration.html#a049b8264eb2ab78dd89a7332008912a5" title="The reduced speed of the left motor that can be assigned after a defined amount of time (0-255)...">lineFollowReducedSpeedLeft</a>;
<a name="l00085"></a><a class="code" href="class_configuration.html#a357c494e08ca9c933550bb64ec997cbb">00085</a>   byte <a class="code" href="class_configuration.html#a357c494e08ca9c933550bb64ec997cbb" title="See lineFollowReducedSpeedLeft.">lineFollowReducedSpeedRight</a>;
<a name="l00090"></a><a class="code" href="class_configuration.html#ac03d06e3aa3a299981f60bd9429d6849">00090</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#ac03d06e3aa3a299981f60bd9429d6849" title="The time in milliseconds (after a call to LineFollow::startIt()) on the first line after which the li...">lineFollowReduceSpeedTimeFirstLine</a>;
<a name="l00095"></a><a class="code" href="class_configuration.html#a7b35d7c77230da94fe0fe12904974371">00095</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a7b35d7c77230da94fe0fe12904974371" title="The time in milliseconds (after a call to LineFollow::startIt()) on the second line after which the l...">lineFollowReduceSpeedTimeSecondLine</a>;
<a name="l00101"></a><a class="code" href="class_configuration.html#a03ba79c747a491d0ded2aa0ddfad1cf2">00101</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a03ba79c747a491d0ded2aa0ddfad1cf2" title="The time in milliseconds (after a call to LineFollow::startIt()) on the third line and after the cube...">lineFollowReduceSpeedTimeThirdLineToFinish</a>;
<a name="l00109"></a><a class="code" href="class_configuration.html#a9ef6ba2bfd04ec756c58207799f1b9ab">00109</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a9ef6ba2bfd04ec756c58207799f1b9ab" title="Milliseconds (after a call to LineFollow::startIt()) after which the front line sensors shall be acti...">lineFollowActivateFrontSensorOffset</a>;
<a name="l00110"></a>00110 
<a name="l00111"></a>00111   <span class="comment">//-----------------------------------</span>
<a name="l00112"></a>00112   <span class="comment">//LINE CENTER</span>
<a name="l00113"></a><a class="code" href="class_configuration.html#a38df8bfaaee037f566990d464bd25904">00113</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a38df8bfaaee037f566990d464bd25904" title="Interval in milliseconds in which the line centering job shall be executed.">lineCenterInterval</a>; 
<a name="l00114"></a>00114 
<a name="l00117"></a><a class="code" href="class_configuration.html#aebf76a63207191515e8fc7a61ae6b51e">00117</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aebf76a63207191515e8fc7a61ae6b51e" title="During line centering a value below this difference will mean, that the line centering process is fin...">lineCenterLineInMiddleDifference</a>;
<a name="l00118"></a><a class="code" href="class_configuration.html#a2ad74fa43a9a580b64d7720fb89ca38b">00118</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a2ad74fa43a9a580b64d7720fb89ca38b" title="The speed of both motors while driving straight during the line centering.">lineCenterStraightSpeed</a>; 
<a name="l00119"></a><a class="code" href="class_configuration.html#a249647d370af85b1840c04137c766615">00119</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a249647d370af85b1840c04137c766615" title="The speed of the left motor during the line centering process if the car is reaching the line from th...">lineCenterFromLeftMotorLeft</a>; 
<a name="l00120"></a><a class="code" href="class_configuration.html#aca327c9b82e6e4bdb9f311e184f2dbc3">00120</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aca327c9b82e6e4bdb9f311e184f2dbc3" title="The speed of the right motor during the line centering process if the car is reaching the line from t...">lineCenterFromLeftMotorRight</a>; 
<a name="l00121"></a><a class="code" href="class_configuration.html#a42e5b6bb3d04f2591500fdd60221c087">00121</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a42e5b6bb3d04f2591500fdd60221c087" title="The speed of the left motor during the line centering process if the car is reaching the line from th...">lineCenterFromRightMotorLeft</a>; 
<a name="l00122"></a><a class="code" href="class_configuration.html#a56bd213c8cf180715cd6d585187e76d3">00122</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a56bd213c8cf180715cd6d585187e76d3" title="The speed of the right motor during the line centering process if the car is reaching the line from t...">lineCenterFromRightMotorRight</a>; 
<a name="l00123"></a><a class="code" href="class_configuration.html#aa7231458f16484140c8e08b5aa81a009">00123</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aa7231458f16484140c8e08b5aa81a009" title="The duration while the car during the correction is driving backwards.">lineCenterDriveBackDuration</a>; 
<a name="l00124"></a>00124 
<a name="l00125"></a>00125   <span class="comment">//-----------------------------------</span>
<a name="l00126"></a>00126   <span class="comment">//LIFT CUBE</span>
<a name="l00127"></a><a class="code" href="class_configuration.html#af6652efed17691fef4fa435e38c1642f">00127</a>   byte <a class="code" href="class_configuration.html#af6652efed17691fef4fa435e38c1642f" title="Pwm value to set if the hoist has to be moved up fully.">liftCubeUpPosition</a>; 
<a name="l00128"></a><a class="code" href="class_configuration.html#ac8a8b2bf842c6559c30c11436eff5c83">00128</a>   byte <a class="code" href="class_configuration.html#ac8a8b2bf842c6559c30c11436eff5c83" title="Pwm value to set if the hoist has to be moved up fully.">liftCubeDownPosition</a>; 
<a name="l00129"></a><a class="code" href="class_configuration.html#a3c887c3a7f7aa88ee549c81a62cf1c9c">00129</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a3c887c3a7f7aa88ee549c81a62cf1c9c" title="Time in milliseconds between the liftDown and the liftUp command of the method LiftCube::liftCube()">liftCubeDownUpDuration</a>; 
<a name="l00130"></a><a class="code" href="class_configuration.html#a795f86091deeb53575bf3818eeaf0071">00130</a>   byte <a class="code" href="class_configuration.html#a795f86091deeb53575bf3818eeaf0071" title="Hardware pin to which the end switch is attached.">liftCubeSwitchPin</a>; 
<a name="l00131"></a>00131 
<a name="l00137"></a><a class="code" href="class_configuration.html#af69fe1dd7d85d1b7b1772f5abfc1ab54">00137</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#af69fe1dd7d85d1b7b1772f5abfc1ab54" title="Time for which the motors shall &quot;rotate&quot; backwards with the speed set in liftCubeStopSpeed.">liftCubeStopDuration</a>;
<a name="l00138"></a><a class="code" href="class_configuration.html#ace271e960cae68a452d5330d0af7d46a">00138</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#ace271e960cae68a452d5330d0af7d46a" title="The speed for the stop action which is performed after the cube lifting process has started...">liftCubeStopSpeed</a>; 
<a name="l00139"></a>00139 
<a name="l00140"></a>00140   <span class="comment">//-----------------------------------</span>
<a name="l00141"></a>00141   <span class="comment">//CURVE</span>
<a name="l00149"></a><a class="code" href="class_configuration.html#aa88d485a2c671d043ff03b8222f3d880">00149</a> <span class="comment"></span>  <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aa88d485a2c671d043ff03b8222f3d880" title="Duration of the stop action.">curveStopDuration</a>;
<a name="l00156"></a><a class="code" href="class_configuration.html#a6478e762e926dc1a0a534f158b50d0d1">00156</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a6478e762e926dc1a0a534f158b50d0d1" title="This value defines the speed that shall be set to both motors during a stop that has to stop the car ...">curveStopSpeed</a>;
<a name="l00157"></a><a class="code" href="class_configuration.html#aa2238d49c21c52f8e86ff0ac80aff034">00157</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aa2238d49c21c52f8e86ff0ac80aff034" title="Interval in milliseconds in which the curve job shall be executed.">curveInterval</a>; 
<a name="l00158"></a><a class="code" href="class_configuration.html#affa93f2156dbf8041bf4b8084051cd83">00158</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#affa93f2156dbf8041bf4b8084051cd83" title="The speed of the slower motor (in a left curve, left motor) during a 90° curve. This value can go fro...">curveSpeedSlowMotor</a>; 
<a name="l00159"></a><a class="code" href="class_configuration.html#a01c64f5ae58a66ab565936b67bbb2b58">00159</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a01c64f5ae58a66ab565936b67bbb2b58" title="The speed of the faster motor (in a left curve, right motor) during a 90° curve. This value can go fr...">curveSpeedFastMotor</a>; 
<a name="l00160"></a><a class="code" href="class_configuration.html#a74cd50271e2f063f538514163cc36223">00160</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a74cd50271e2f063f538514163cc36223" title="The time after which the car shall drive straight again to find the line (no more curve is done)...">curveDriveStraightTime</a>; 
<a name="l00161"></a>00161 
<a name="l00166"></a><a class="code" href="class_configuration.html#adec850d0b0519d7a799841e6086a777d">00166</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#adec850d0b0519d7a799841e6086a777d" title="Time in milliseconds after which the end sensor (end sensor = sensor that will recognize when the cur...">curveActivateEndSensorOffset</a>;
<a name="l00167"></a>00167 
<a name="l00168"></a>00168   <span class="comment">//-----------------------------------</span>
<a name="l00169"></a>00169   <span class="comment">//CUBE APPROACH</span>
<a name="l00170"></a><a class="code" href="class_configuration.html#a90bbb5bb0965db13214cd9f383d7c96f">00170</a>   <span class="keywordtype">boolean</span> <a class="code" href="class_configuration.html#a90bbb5bb0965db13214cd9f383d7c96f" title="If set to true the top sensors are taken into account during the cube approach process.">cubeApproachUseTopSensors</a>; 
<a name="l00171"></a>00171 
<a name="l00175"></a><a class="code" href="class_configuration.html#af79ee39fe47d0ccd880559a62bdc17e7">00175</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#af79ee39fe47d0ccd880559a62bdc17e7" title="The time in milliseconds (after a call to LineFollow::startIt()) on the third line after which the li...">cubeApproachLineFollowReduceSpeedTime</a>;
<a name="l00180"></a><a class="code" href="class_configuration.html#a9a580fe87402bf1d5b7bc29ba9eff0c5">00180</a>   byte <a class="code" href="class_configuration.html#a9a580fe87402bf1d5b7bc29ba9eff0c5" title="The reduced speed of the left motor that can be assigned after a defined amount of time (see cubeAppr...">cubeApproachLineFollowReducedSpeedLeft</a>;
<a name="l00181"></a><a class="code" href="class_configuration.html#ae920e24aa143468fb512ffc9ac2f07e0">00181</a>   byte <a class="code" href="class_configuration.html#ae920e24aa143468fb512ffc9ac2f07e0" title="See cubeApproachLineFollowReducedSpeedLeft.">cubeApproachLineFollowReducedSpeedRight</a>; 
<a name="l00182"></a>00182 
<a name="l00187"></a><a class="code" href="class_configuration.html#a31dba4b7dc79224cda66882244363829">00187</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a31dba4b7dc79224cda66882244363829" title="Threshold for the cube detection.">cubeApproachDetectThreshold</a>;
<a name="l00188"></a><a class="code" href="class_configuration.html#abab4e9ea7d056a9dbcd50dafbe24d6a0">00188</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#abab4e9ea7d056a9dbcd50dafbe24d6a0" title="Interval in milliseconds in which the distance sensors shall be checked.">cubeApproachInterval</a>; 
<a name="l00189"></a><a class="code" href="class_configuration.html#a9da11857b45fd2f6773dbcdfc7331b40">00189</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a9da11857b45fd2f6773dbcdfc7331b40" title="Duration in milliseconds of a turn when the cube has been detected.">cubeApproachTurnDuration</a>; 
<a name="l00190"></a><a class="code" href="class_configuration.html#aa284621b913e16639f3389791c5eb28a">00190</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aa284621b913e16639f3389791c5eb28a" title="Speed of slow motor during a turn when the cube has been detected. This value can be nagative...">cubeApproachTurnSpeedSlowMotor</a>; 
<a name="l00191"></a><a class="code" href="class_configuration.html#a38804c3d44ecfb2d0fb3946663c6cd93">00191</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a38804c3d44ecfb2d0fb3946663c6cd93" title="Speed of fast motor during a turn when the cube has been detected. This value can be nagative...">cubeApproachTurnSpeedFastMotor</a>; 
<a name="l00192"></a><a class="code" href="class_configuration.html#a905f3bbd8e6b527a0e21092d682a4a6e">00192</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a905f3bbd8e6b527a0e21092d682a4a6e" title="Speed during cube approach while the car is driving straight.">cubeApproachStraightSpeed</a>; 
<a name="l00193"></a>00193 
<a name="l00194"></a>00194   <span class="comment">//-----------------------------------</span>
<a name="l00195"></a>00195   <span class="comment">//MOVE BACK TO LINE</span>
<a name="l00196"></a><a class="code" href="class_configuration.html#aee51769c3d69df9f58b55107f033dad4">00196</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#aee51769c3d69df9f58b55107f033dad4" title="Interval in which during driving back to the line the line sensors shall be checked.">moveBackToLineInterval</a>; 
<a name="l00197"></a><a class="code" href="class_configuration.html#a86403c15f4b19c03c69c00a80ff3a7ae">00197</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a86403c15f4b19c03c69c00a80ff3a7ae" title="Duration of the 1st turn to move / rotate the car in direction where the line is.">moveBackToLine1stTurnDuration</a>; 
<a name="l00198"></a><a class="code" href="class_configuration.html#a3dc51cbab46e700385d6d4311772b7d3">00198</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a3dc51cbab46e700385d6d4311772b7d3" title="Speed of the left motor during the 1st turn (can be a negative) in case of a left turn...">moveBackToLine1stLeftTurnLeftSpeed</a>; 
<a name="l00199"></a><a class="code" href="class_configuration.html#a8c6e050f962f77e3a2f5ab2865a398a0">00199</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a8c6e050f962f77e3a2f5ab2865a398a0" title="Speed of the right motor during the 1st turn (can be a negative) in case of a left turn...">moveBackToLine1stLeftTurnRightSpeed</a>; 
<a name="l00200"></a><a class="code" href="class_configuration.html#a3270e1fdebe3b98878d7f3a02837ddb0">00200</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a3270e1fdebe3b98878d7f3a02837ddb0" title="Speed of the left motor during the 1st turn (can be a negative) in case of a left turn...">moveBackToLine1stRightTurnLeftSpeed</a>; 
<a name="l00201"></a><a class="code" href="class_configuration.html#a03353b98be43a1f2df263b3972989a27">00201</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a03353b98be43a1f2df263b3972989a27" title="Speed of the right motor during the 1st turn (can be a negative) in case of a left turn...">moveBackToLine1stRightTurnRightSpeed</a>; 
<a name="l00202"></a><a class="code" href="class_configuration.html#ac0f336a0ff78c823cf2fb2cea90237ed">00202</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#ac0f336a0ff78c823cf2fb2cea90237ed" title="Speed of the car when it drives straight back to the line.">moveBackToLineStraightSpeed</a>; 
<a name="l00203"></a>00203 
<a name="l00204"></a>00204   <span class="comment">//-----------------------------------</span>
<a name="l00205"></a>00205   <span class="comment">//FINISH LINE</span>
<a name="l00211"></a><a class="code" href="class_configuration.html#ae2d894be3f0f7e276fa40ef61faff989">00211</a> <span class="comment"></span>  <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#ae2d894be3f0f7e276fa40ef61faff989" title="Time in milliseconds of how long the car shall drive straight to cross the finish line...">finishLineDriveOverDuration</a>;
<a name="l00212"></a>00212 
<a name="l00213"></a>00213   <span class="comment">//-----------------------------------</span>
<a name="l00214"></a>00214   <span class="comment">//SENSOR DEBUG</span>
<a name="l00215"></a><a class="code" href="class_configuration.html#a9b33a4a750145bf398c4030922784967">00215</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a9b33a4a750145bf398c4030922784967" title="Interval in milliseconds in which the debug sensors.">sensorDebugInterval</a>; 
<a name="l00216"></a><a class="code" href="class_configuration.html#a6c05aa8e21c264aab388e9532f6aa6a3">00216</a>   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a6c05aa8e21c264aab388e9532f6aa6a3" title="Time in milliseconds between reading every sensor.">sensorDebugReadGap</a>; 
<a name="l00217"></a>00217 
<a name="l00218"></a>00218   <span class="keyword">static</span> <a class="code" href="class_configuration.html">Configuration</a>* <a class="code" href="class_configuration.html#ae327d26e81014cf46b25802478fe9b8e">getInstance</a>();
<a name="l00219"></a>00219   byte <a class="code" href="class_configuration.html#aecb79d09fce1b802e93a815cedd2a22e">getConfigurationVersion</a>();
<a name="l00220"></a>00220   <span class="keywordtype">long</span> <a class="code" href="class_configuration.html#a75b42e72d9a00415dfafa5d5dd8281b8">getSerialSpeed</a>();
<a name="l00221"></a>00221   <span class="keywordtype">void</span> <a class="code" href="class_configuration.html#a0b0009b5114b418831478c031372d12c">getCurrentConfiguration</a>(<span class="keywordtype">long</span>* spaceForConfigValues);
<a name="l00222"></a>00222   <span class="keywordtype">boolean</span> <a class="code" href="class_configuration.html#aa6f6680d35f5db5efd93770bbce644ed" title="Updates all configuration values according to the given parameters.">updateConfiguration</a>(<span class="keywordtype">int</span>* parameters);
<a name="l00223"></a>00223   <span class="keywordtype">int</span> <a class="code" href="class_configuration.html#a6ecb6e35520b0877eb8a1ccb47b577b4">getFreeMemory</a>();
<a name="l00224"></a>00224 };
<a name="l00225"></a>00225 
<a name="l00226"></a>00226 <span class="preprocessor">#endif</span>
<a name="l00227"></a>00227 <span class="preprocessor"></span>
<a name="l00228"></a>00228 
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_configuration_8h.html">Configuration.h</a>      </li>

    <li class="footer">Generated on Thu Jun 7 2012 20:47:42 for prencar by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
